package org.example.Service;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.ShippingInfo;

import java.util.List;

public interface ShippingInfoService {
    List<ShippingInfo> selectShippingInfos();
    //查询该id的快递信息
    ShippingInfo selectShippingInfoByID(@Param("shipping_id")Integer id);
    //查询该orderId的快递信息
    ShippingInfo selectShippingInfoByOrderID(@Param("order_id")Integer id);
    //添加快递信息
    int insertShippingInfo(ShippingInfo shippingInfo);
    //修改快递信息
    int updateShippingInfo(ShippingInfo shippingInfo);
    //删除快递信息
    int deleteShippingInfo(@Param("shipping_id")Integer id);

}
